package com.medical.doctor.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.medical.common.core.annotation.Excel;
import com.medical.common.core.web.domain.BaseEntity;

/**
 * 诊断记录对象 diagnostic_record
 * 
 * @author medical
 * @date 2024-07-21
 */
@Data
public class DiagnosticRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long diagnoseId;

    /** 患者id */
    @Excel(name = "患者id")
    private Long patientId;

    /** 医生id */
    @Excel(name = "医生id")
    private Long doctorId;

    private Long hospitalId;

    private String departmentId;

    /** 病情描述 */
    @Excel(name = "病情描述")
    private String diagnoseDiseaseDescription;

    /** 诊断结果 */
    @Excel(name = "诊断结果")
    private String diagnoseSis;

    /** 诊断时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "诊断时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date diagnoseTime;

    /** 诊断金额 */
    @Excel(name = "诊断金额")
    private BigDecimal diagnosePrice;

    private Long prescriptionId;

    private Long userId;

}
